<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%--<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>--%>
<%--<%@ page isELIgnored="false" %>--%>
<!doctype html>
<head>
    <title>图片</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <link href="/layui/css/layui.css" rel="stylesheet" type="text/css"/>
    <link href="/css/picture.css" rel="stylesheet" type="text/css"/>
</head>
<style type="text/css">
    .layui-table-cell{
        text-align:center;
        height: auto;
        white-space: normal;
    }
    .layui-table img{
        max-width:300px
    }
</style>
<body>

<div class="layui-upload" style="margin: 20px">
    <button type="button" class="layui-btn layui-btn-normal" id="testList">选择图片</button>
    <button type="button" class="layui-btn" id="testListAction">开始上传</button>
    <div class="layui-upload-list dd" >
        <table class="layui-table">
            <thead>
            <tr><th>文件名</th>
                <th>大小</th>
                <th>状态</th>
                <th>操作</th>
            </tr></thead>
            <tbody id="demoList"></tbody>
        </table>
    </div>

</div>

<table class="layui-hide" id="test" lay-filter="test"></table>




</body>


<script src="/js/jQuery-2.1.4.min.js"></script>
<script src="/layui/layui.all.js"></script>
<%--头部工具栏--%>
<script type="text/html" id="toolbarDemo">
    <div class="layui-btn-container">
        <%--        <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="getCheckData">删除本页选中</button>--%>
                <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="getCheckData">删除选中</button>
<%--        <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">导出本页选中</button>--%>
        <%--        <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">导出选中</button>--%>
<%--        <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="isAll">删除选中</button>--%>
    </div>
</script>

<%--这要放这里toolbardemo下面--%>
<script src="/js/picture.js"></script>

<%--行工具栏--%>
<script type="text/html" id="barDemo">
<%--    <a class="layui-btn layui-btn-xs" lay-event="edit">关联学生</a>--%>
<%--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>--%>
<%--    <a class="layui-btn layui-btn-xs uppic" lay-event="up">上传</a>--%>
    <%--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delpic">删除图片</a>--%>
</script>
</html>
